<html>
<head><meta charset="utf-8"><title>When was the `crate_types` field added to `cargo metadata`? · t-cargo · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/index.html">t-cargo</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/When.20was.20the.20.60crate_types.60.20field.20added.20to.20.60cargo.20metadata.60.3F.html">When was the `crate_types` field added to `cargo metadata`?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="208888797"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/When%20was%20the%20%60crate_types%60%20field%20added%20to%20%60cargo%20metadata%60%3F/near/208888797" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/When.20was.20the.20.60crate_types.60.20field.20added.20to.20.60cargo.20metadata.60.3F.html#208888797">(Sep 02 2020 at 21:13)</a>:</h4>
<p>Trying to replicate a build with a <em>very</em> old toolchain and <a href="http://docs.rs">docs.rs</a> is giving errors because the format changed since then. Do you know the oldest toolchain that will still have <code>crate_types</code>?<br>
<a href="https://github.com/rust-lang/docs.rs/issues/1027">https://github.com/rust-lang/docs.rs/issues/1027</a></p>



<a name="208888970"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/When%20was%20the%20%60crate_types%60%20field%20added%20to%20%60cargo%20metadata%60%3F/near/208888970" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/When.20was.20the.20.60crate_types.60.20field.20added.20to.20.60cargo.20metadata.60.3F.html#208888970">(Sep 02 2020 at 21:15)</a>:</h4>
<p>the changelog doesn't mention it at all</p>



<a name="208889684"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/When%20was%20the%20%60crate_types%60%20field%20added%20to%20%60cargo%20metadata%60%3F/near/208889684" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/When.20was.20the.20.60crate_types.60.20field.20added.20to.20.60cargo.20metadata.60.3F.html#208889684">(Sep 02 2020 at 21:22)</a>:</h4>
<p><span class="user-mention" data-user-id="232545">@Joshua Nelson</span> 1.19 maybe?  The changelog only goes back to 1.30.</p>



<a name="208889706"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/When%20was%20the%20%60crate_types%60%20field%20added%20to%20%60cargo%20metadata%60%3F/near/208889706" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/When.20was.20the.20.60crate_types.60.20field.20added.20to.20.60cargo.20metadata.60.3F.html#208889706">(Sep 02 2020 at 21:22)</a>:</h4>
<p>Er 1.17 I mean.</p>



<a name="208890639"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/When%20was%20the%20%60crate_types%60%20field%20added%20to%20%60cargo%20metadata%60%3F/near/208890639" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/When.20was.20the.20.60crate_types.60.20field.20added.20to.20.60cargo.20metadata.60.3F.html#208890639">(Sep 02 2020 at 21:32)</a>:</h4>
<p>now it needs <code>keywords</code> <span aria-label="laughing" class="emoji emoji-1f606" role="img" title="laughing">:laughing:</span></p>



<a name="208890656"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/When%20was%20the%20%60crate_types%60%20field%20added%20to%20%60cargo%20metadata%60%3F/near/208890656" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/When.20was.20the.20.60crate_types.60.20field.20added.20to.20.60cargo.20metadata.60.3F.html#208890656">(Sep 02 2020 at 21:33)</a>:</h4>
<p>let me just bisect this so I don't keep bothering you</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>